package com.Liux.blog.dao;

import com.Liux.blog.entity.User;
import com.Liux.blog.general.generalDao;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserMapper extends generalDao<User> {

    List<User> getUserDetail(String userId);

    List<User> UserList(int start,int limit);

    int updateUser(String id,String nikeName,String signature );

    int delUser(String id);

    List<User> getUserByLike(String nikeName,int start, int limit);
}